package com.gulimall.product.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gulimall.product.vo.SpuInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * spu信息
 *
 * @author ht
 * @email ht035200@163.com
 * @date 2020-04-07 17:20:28
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {
    List<SpuInfoVo> list(Page<SpuInfoVo> spuInfoPage, @Param("spuInfo") SpuInfoEntity spuInfo, @Param(Constants.WRAPPER) Wrapper<SpuInfoEntity> wrapper);
}
